#pdfViewId {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
}
.style_print_container {
  width: 100%;
  display: flex;
  justify-content: center;
  .style_print_spec {
    width: 50%;
    margin: 0 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
    column-gap: 10px;
    .gsp_item {
      border: 1px solid #666;
      .gspi_img_box {
        display: flex;
        justify-content: center;
        align-items: center;
        img {
          width: 120px;
          height: 180px;
          object-fit: contain;
        }
      }
    }
    .gspi_info_box {
      border-top: 1px solid #666;
      table {
        width: 100%;
      }
      tr > td {
        border-right: 1px solid #666;
        border-bottom: 1px solid #666;
        padding: 6px;
        text-align: center;
      }
      td:nth-last-of-type(1) {
        border-right: none;
      }
      .bold {
        font-weight: bold;
      }
    }
    .gspi_code_box {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      .gspicb_con {
        width: 200px;
        height: 90px;
        display: flex;
        align-items: center;
        svg {
          width: 100%;
          transform: scaleY(0.6) !important;
        }
      }
    }
  }
}

.box_markcode_print_container {
  display: flex;
  justify-content: center;
  .box_markcode_print {
    margin: 12px;
    width: 50%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
    column-gap: 10px;
    .gsp_item {
      border: 1px solid #666;
      .gspi_img_box {
        display: flex;
        justify-content: center;
        align-items: center;
        img {
          width: 120px;
          height: 180px;
          object-fit: contain;
        }
      }
    }
    .gspi_info_box {
      border-top: 1px solid #666;
      table {
        width: 100%;
      }
      tr > td {
        border-right: 1px solid #666;
        border-bottom: 1px solid #666;
        padding: 6px;
        text-align: center;
      }
      td:nth-last-of-type(1) {
        border-right: none;
      }
      .bold {
        font-weight: bold;
      }
    }
    .gspi_code_box {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      .gspicb_con {
        width: 200px;
        height: 90px;
        display: flex;
        align-items: center;
        svg {
          width: 100%;
          transform: scaleY(0.6) !important;
        }
      }
    }
    .gsp_item {
      border-top: none;
      max-height: 45vh;
    }
    .gspi_info_box {
      padding: 12px 10px;
    }
    .gspi_code_box {
      border-top: 1px solid #333;
    }
  }
}

.box_mark_print {
  display: flex;
  flex-direction: column;
  font-size: 30px;
  .standard_outbox {
    width: 50%; //浏览器效果
    margin: 0 auto;
  }
  .standard {
    border: 1px solid #333;
    color: #000;
    font-weight: 600;
    .line {
      height: 60px;
      line-height: 60px;
      display: flex;
      border-bottom: 1px solid #333;
      .line_left {
        width: 40%;
        padding: 0 10px;
      }
      .line_right {
        padding: 0 10px;
        width: 60%;
        border-left: 1px solid #333;
      }
    }
    .line:nth-last-of-type(1) {
      border-bottom: none;
    }
    .innerbarcode {
      height: 110px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}
@media print {
  .standard_outbox {
    width: 96vw !important; //实际打印效果
    margin: 0 auto;
  }
}

@media all {
  .page-break {
    display: none;
  }
}

@media print {
  html,
  body {
    height: initial !important;
    overflow: initial !important; // 如果出现无法分页加入此属性
    -webkit-print-color-adjust: exact;
  }
}

@media print {
  .page-break {
    margin-top: 0.5rem;
    display: block;
    page-break-before: auto;
  }
  .style_print_container .style_print_spec {
    width: 100%;
  }
  .box_markcode_print_container .box_markcode_print {
    width: 100%;
    margin: 0 12px;
  }
}

@page {
  size: auto;
  margin: 16px 0; // 打印页样式
}
.print-page-fixed {
  position: fixed;
  right: 0;
  bottom: 5%;
  width: 300px;
  z-index: 99;
}
.myselfbutton {
  cursor: pointer;
  font-size: large;
  font-family: inherit;
  font-weight: bold;
  color: #0011ff;
  background-color: #f8f8fd;
  padding: 0.8em 2.2em;
  border-radius: 50em;
  border: 6px solid #8b93f8;
  box-shadow: 0px 8px #1f35ff;
}
.myselfbutton:active {
  position: relative;
  top: 8px;
  border: 6px solid #646fff;
  box-shadow: 0px 0px;
}

.download_file_btn {
  position: fixed;
  right: 0;
  bottom: 20%;
  width: 300px;
  z-index: 99;
  .cssbuttons-io-button {
    display: flex;
    align-items: center;
    font-family: inherit;
    cursor: pointer;
    font-weight: 500;
    font-size: 17px;
    padding: 0.8em 1em 0.8em 1em;
    color: white;
    background: #ad5389;
    background: linear-gradient(0deg, rgba(77, 54, 208, 1) 0%, rgba(132, 116, 254, 1) 100%);
    border: none;
    box-shadow: 0 0.7em 1.5em -0.5em #4d36d0be;
    letter-spacing: 0.05em;
    border-radius: 20em;
  }

  .cssbuttons-io-button svg {
    margin-right: 8px;
  }

  .cssbuttons-io-button:hover {
    box-shadow: 0 0.5em 1.5em -0.5em #4d36d0be;
  }

  .cssbuttons-io-button:active {
    box-shadow: 0 0.3em 1em -0.5em #4d36d0be;
  }
  span {
    font-size: 12px;
  }
}
